pkgname=device-lg-hammerhead
pkgver=1
pkgrel=12
pkgdesc="Google Nexus 5"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-lg-hammerhead linux-firmware mkbootimg"
makedepends=""
install=""
subpackages=""
source="
	deviceinfo
	90-android-touch-dev.rules
	udev-v4l-hack.sh
	profile.sh
	bcmdhd.cal
"
options="!check"

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
	install -D -m644 "$srcdir"/profile.sh \
		"$pkgdir"/etc/profile.d/00-$pkgname.sh
	install -D -m644 "$srcdir"/udev-v4l-hack.sh \
		"$pkgdir"/etc/profile.d/00-udev-v4l-hack.sh
	install -D -m644 "$srcdir"/bcmdhd.cal \
		"$pkgdir"/etc/wifi/bcmdhd.cal
}

sha512sums="e954e4ad792932bb23acee1a0f864067d6bf5d50372fc8fd99e3faaf5bda1d57a4f29978649d106100cd80cdfc8a1fa496b396d6fa461e08769a75c23f8449af  deviceinfo
ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df  90-android-touch-dev.rules
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1  udev-v4l-hack.sh
d04013c17caf77a87ebea167dbe48f7efa9c9d3123c5743d359f3ea8ccc6b268fa021535a4bf8291eb4a352f0c92f6eb527da0db340421f53bc1cc439a453306  profile.sh
32652ef366694f34dec31f316a38aca96700e3a5a3eac1f8d192e3c5de7b91e480b1c0fcd8e7c80a51692dc3737020ebbb2e5d3779436e82fb18822089c63055  bcmdhd.cal"
